<?php

namespace App\Trip\Train\Order\Interfaces;

use App\Models\Train\TrainOrders\TrainOrder;

/**
 * 抢票
 */
interface TrainSnapInterface
{
    public function setOrderService();

    /**
     * 当前仅支持 单行程抢票
     * @param TrainOrder $order
     *
     * @return mixed
     */
    public function setTrainOrder(TrainOrder $order);

    public function snap();
}